# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=mauikit
pkgver=2.2.2
pkgrel=2
pkgdesc='Templated convergent controls and multi-platform utilities for Maui applications'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(LGPL)
depends=(mauiman ki18n knotifications kirigami2 qt5-svg)
makedepends=(extra-cmake-modules)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('0b7eb6517e933757b09ad346189bf50d9269d0ca05559bba5f4edbbe26b8d157')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
